package com.diankangwo.factory.service;

import com.diankangwo.factory.entity.TdCategory;

import java.util.List;

public interface TdCategoryService {

    int deleteByPrimaryKey(Integer id);

    int insert(TdCategory record);

    int insertSelective(TdCategory record);

    TdCategory selectByPrimaryKey(Integer id);

    List<TdCategory> selectByCommodityId(Integer id);

    int updateByPrimaryKeySelective(TdCategory record);

    int updateByPrimaryKey(TdCategory record);
}
